package dao;
//规定了需要分发所有的dao对象的方法->子类进行功能的实现
//外界通过getlnstance方法获得工厂的实例
public abstract class DBTestFactory {
    private static DBTestFactory factory;
    //获得DBTestFactory实例
    public static DBTestFactory getInstance(){
        factory = new Op1Factory();
        return factory;
    }

    public abstract FlowerDAO getFlowerDAO();

    public abstract CustomerDAO getCustomerDAO();

    public abstract FlowerStoreDAO getFlowerStoreDAO();

    public abstract OrdersDAO getOrdersDAO();


}
